import {HTTP} from '../utils/http'

class CaseStudyApi extends HTTP {
    /**
     * 查询病例列表
     */
    getCaseList(data) {
        return this.request({
            url: 'sp-case/spCaseList',
            data: data,
            method: 'post'
        })
    }

    /**
     * 查询科室
     *
     */
    getDepartmentList(data) {
        return this.request({
            url: 'sp-department/spDepartmentList',
            data: data,
            method: 'post'
        })
    }

}

export default new CaseStudyApi()
